package com.fortune.rainshine.feign.system;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.model.system.CustomerPayCardModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "rain-shine-system",configuration = FeignConfig.class)
@Controller
public interface CustomerPayCardFeign {

    @PostMapping("/payCard/add")
    MsgModel add(@RequestBody CustomerPayCardModel model);
}
